Turns the link cable off and forgets everyone: link_connected() is false and every other player’s buttons read as not pressed. Use it to leave a two-player game for a one-player one.
Works differently on Game Boy - The Game Boy link cable joins two consoles, not four: players 3 and 4 are never there and read as not pressing anything, and the two consoles decide between themselves which one is player 1, so it can be a different one each time they meet.
Works differently on Game Boy Color - The Game Boy Color link cable joins two consoles, not four: players 3 and 4 are never there and read as not pressing anything, and the two consoles decide between themselves which one is player 1, so it can be a different one each time they meet.
On other consoles this differs: see Side by side and How the consoles differ.
link_stop()Nothing.
Turns the link cable off and forgets everyone. After it, link_connected is false, link_players is 0, and every other player's buttons read as not pressed.
Use it to leave a two-player game for a one-player one, so the game stops paying for a link nobody is using. Calling it when the link is already off does nothing. link_start turns it back on.
if (btn_pressed(BTN_B)) {
link_stop();
}Turns the link cable off when the player presses B, for example to back out of a two-player lobby.
This gives back everything link_start() cost, including the DMA screen copy.